[11]?
?
Example?Initialization?Program?
?
/*****************************************************/?
void?data_out(unsigned?char?i)?//Data?Output?8‐bit?parallel?Interface?
{?
?
A0??=?1;???????//Data?register?
?
WR1??=?0;??????//Write?enable?
?
P1??=?i;???????//put?data?on?port?1?
?
WR1??=?1;??????//Clock?in?data?
}?
void?comm_out(unsigned?char?i)?//Command?Output?8‐bit?parallel?Interface?
{?
?
A0??=?0;???????//Instruction?register?
?
WR1??=?0;??????//Write?enable?
?
P1?=?i;???????//put?data?on?port?1?
?
WR1??=?1;??????//Clock?in?data?
}?
/*****************************************************/?
/****************************************************?
*???????????Initialization?For?NT7534H??????????????*?
*****************************************************/?
void?resetLCD()?
{?
?
RES?=?0;?
?
delay(100);?
?
RES?=?1;?
?
delay(100);?
}?
void?init_LCD()??
{?
CS1?=?0;????????//Chip?Select?
CS2?=?1;????????//Chip?Select?
RD1?=?1;???????//Read?disable?
comm_out(0xA2);??????????//1/9?bias?
comm_out(0xA0);??????????//ADC?select?
comm_out(0xC8);??????????//COM?output?reverse?
comm_out(0xA4);??????????//display?all?points?normal?
comm_out(0x40);??????????//display?start?line?set?
comm_out(0x25);??????????//internal?resistor?ratio?
comm_out(0x81);??????????//electronic?volume?mode?set?
comm_out(0x18);??????????//electronic?volume?
comm_out(0x2F);??????????//power?controller?set?
comm_out(0xAF);??????????//display?on?
}?
/*****************************************************/?
?
?
?
相关PDF资料
NHD-14432WG-ATFH-V# LCD MOD GRAPH 144X32 WH TRANSFL
NHD-160128WG-BTGH-VZ#-1 LCD MOD GRAPH 160X128 WH TRANSFL
NHD-160128WG-BTMI-VZ#-1 LCD MOD GRAPH 160X128 WH TRANSFL
NHD-16032AZ-FL-YBW LCD MOD GRAPH 160X32 Y/G TRANSFL
NHD-16032AZ-NSW-BBW LCD MOD GRAPH 160X32 WHI TRANSM
NHD-16032BZ-FL-YBW LCD MOD GRAPH 160X32 Y/G TRANSFL
NHD-16032BZ-FSW-GBW LCD MOD GRAPH 160X32 WH TRANSFL
NHD-19232WG-BGGH-VT LCD MOD GRAPH 192X32 GRN TRANSFL
相关代理商/技术参数
NHD-14432WG-ATFH-V# 功能描述:LCD MOD GRAPH 144X32 WH TRANSFL RoHS:是 类别:光电元件 >> 显示器模块 - LCD,OLED,图形 系列:NHD-14432WG-A 标准包装:1 系列:* 其它名称:Q7143510
NHD-14432WG-ATFH-V#T 功能描述:LCD 图形显示模块和配件 144 x 32 FSTN(+) 85.0 x 36.0 RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-14432WG-ATFH-VT 制造商:NEWHAVEN 制造商全称:NEWHAVEN 功能描述:Graphic Liquid Crystal Display Module
NHD-14432WG-BTFH-V#T 功能描述:LCD 图形显示模块和配件 FSTN (+) Transfl 80.0 x 36.0 RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-160128AE-NSW-BBW-1 功能描述:LCD 图形显示模块和配件 160x128 STN-BLUE(-) 129.0 x 102.0 RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-160128V6-YS6L2C 功能描述:LCD 图形显示模块和配件 160 x 128 STN-Y/G 129.0 x 102.0 RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-160128WG-BTGH-VZ#-1 功能描述:LCD 图形显示模块和配件 STN-Gray Transfl 129.0 x 102.0 RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-160128WG-BTMI-VZ#-1 功能描述:LCD 图形显示模块和配件 STN-Blue (-) Transm 129.0 x 102.0 RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk